using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Resources;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace KPIS.GERP.Models.HRM
{
	[Table("HrmTmpEmployeeEducation")]
    public class TmpEmployeeEducation
    {
		[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
		[DataMember, Display(Name = "TmpEduId", ResourceType = typeof(Resources.TmpEmployeeEducationsResource))]
        public int TmpEduId { get; set; }

		[ForeignKey("TmpEmp")]
		[DataMember, Display(Name = "TmpEmpId", ResourceType = typeof(Resources.TmpEmployeeEducationsResource))]
        public Nullable<int> TmpEmpId { get; set; }

		[ForeignKey("EduQual")]
		[DataMember, Display(Name = "EduQualId", ResourceType = typeof(Resources.TmpEmployeeEducationsResource))]
        public Nullable<int> EduQualId { get; set; }

		[ForeignKey("EduMajor")]
		[DataMember, Display(Name = "EduMajorId", ResourceType = typeof(Resources.TmpEmployeeEducationsResource))]
        public Nullable<int> EduMajorId { get; set; }

		[ForeignKey("EduIns")]
		[DataMember, Display(Name = "EduInsId", ResourceType = typeof(Resources.TmpEmployeeEducationsResource))]
        public Nullable<int> EduInsId { get; set; }

		[DataMember, Display(Name = "Remarks", ResourceType = typeof(Resources.TmpEmployeeEducationsResource))]
        public string Remarks { get; set; }

		[DataMember, Display(Name = "RecordStatus", ResourceType = typeof(Resources.TmpEmployeeEducationsResource))]
        public string RecordStatus { get; set; }

		[DataMember, Display(Name = "CreatedBy", ResourceType = typeof(Resources.TmpEmployeeEducationsResource))]
        public Nullable<int> CreatedBy { get; set; }

		[DataMember, Display(Name = "CreatedWhen", ResourceType = typeof(Resources.TmpEmployeeEducationsResource))]
        public Nullable<System.DateTime> CreatedWhen { get; set; }

		[DataMember, Display(Name = "UpdatedBy", ResourceType = typeof(Resources.TmpEmployeeEducationsResource))]
        public Nullable<int> UpdatedBy { get; set; }

		[DataMember, Display(Name = "UpdatedWhen", ResourceType = typeof(Resources.TmpEmployeeEducationsResource))]
        public Nullable<System.DateTime> UpdatedWhen { get; set; }
    

		[DataMember, Display(Name = "MasEduInstitutes", ResourceType = typeof(Resources.TmpEmployeeEducationsResource))]
        public virtual MasEduInstitute MasEduInstitutes { get; set; }

		[DataMember, Display(Name = "MasEduMajors", ResourceType = typeof(Resources.TmpEmployeeEducationsResource))]
        public virtual MasEduMajor MasEduMajors { get; set; }

		[DataMember, Display(Name = "MasEduQualifications", ResourceType = typeof(Resources.TmpEmployeeEducationsResource))]
        public virtual MasEduQualification MasEduQualifications { get; set; }

		[DataMember, Display(Name = "HrmTmpEmployees", ResourceType = typeof(Resources.TmpEmployeeEducationsResource))]
        public virtual TmpEmployee HrmTmpEmployees { get; set; }

		public virtual TmpEmployee TmpEmp { get; set; }

		public virtual HRM.MasEduQualification EduQual { get; set; }

		public virtual HRM.MasEduMajor EduMajor { get; set; }

		public virtual HRM.MasEduInstitute EduIns { get; set; }

    }
}